﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace TiendaDeMusica
{
    public partial class VistaAlbums : Form
    {

        public VistaAlbums()
        {
            InitializeComponent();
        }


        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: esta línea de código carga datos en la tabla 'tiendaMusicaBDDataSet.tablaAlbum' Puede moverla o quitarla según sea necesario.
            this.tablaAlbumTableAdapter.FillTablaAlbums(this.tiendaMusicaBDDataSet.tablaAlbum);
            // TODO: esta línea de código carga datos en la tabla 'tiendaMusicaBDDataSet.album' Puede moverla o quitarla según sea necesario.
            this.albumTableAdapter.Fill(this.tiendaMusicaBDDataSet.album);

        }

        private void fillByAlbumsToolStripButton_Click(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton1_Click(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton1_Click_1(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_1(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void albumBindingSource_CurrentChanged(object sender, EventArgs e)
        {

        }

        private void fillByAlbumsToolStripButton_Click_2(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillToolStripButton_Click(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.Fill(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_3(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_4(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton1_Click_2(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_5(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_6(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_7(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }

        private void fillByAlbumsToolStripButton_Click_8(object sender, EventArgs e)
        {
            try
            {
                this.albumTableAdapter.FillByAlbums(this.tiendaMusicaBDDataSet.album);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }

        }
    }
}
